package com.example.demo.enums;

/**
 * @Author zhengmf
 * @Date 2019/1/2  16:24
 */
public enum MenuTypeEnum {
    PAGE(0,"页面"),
    MENU_SEPARATOR(1,"菜单分隔符"),
    POPUP(2,"弹出框"),
    COGNOS_REPORT(3,"COGNOS报表"),
    AUTHORITY_CODE(4,"权限码"),
    FUNCTION_BUTTON(5,"功能按钮"),
    EMBED_EXTERNAL_LINKS(9,"嵌入外部链接"),
    POP_UP_EXTERNAL_LINKS(10,"弹出外部链接"),
    OPEN_NEW_TAB(20,"打开新标签");

    private Integer value;
    private String desc;

    MenuTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }
}
